package com.dykj.fireFighting.api.base.devHisResult.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 数据统计
 * @Author LIJIANJIE
 * @Date  2021-09-22 10:24:54
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "数据统计")
@TableName("dev_his_result")
public class DevHisResult extends Model<DevHisResult> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 单位id
	 */
    @ApiModelProperty(value = "单位id")
	@TableField("unit_id")
	private String unitId;
	/**
	 * 监控中心id
	 */
    @ApiModelProperty(value = "监控中心id")
	@TableField("center_unit_id")
	private String centerUnitId;
	/**
	 * 日期（年月日）
	 */
    @ApiModelProperty(value = "日期（年月日）")
	@TableField("result_date")
	private Date resultDate;
	/**
	 * 火警数量
	 */
    @ApiModelProperty(value = "火警数量")
	@TableField("fire_alarm")
	private Integer fireAlarm;
	/**
	 * 故障总数
	 */
    @ApiModelProperty(value = "故障总数")
	private Integer fault;
	/**
	 * 预警数量
	 */
    @ApiModelProperty(value = "预警数量")
	@TableField("early_warning")
	private Integer earlyWarning;
	/**
	 * 有效复核数量
	 */
    @ApiModelProperty(value = "有效复核数量")
	private Integer review;
	/**
	 * 复核总数
	 */
    @ApiModelProperty(value = "复核总数")
	@TableField("review_all")
	private Integer reviewAll;
	/**
	 * 有效处置数量
	 */
    @ApiModelProperty(value = "有效处置数量")
	private Integer management;
	/**
	 * 处置总数
	 */
    @ApiModelProperty(value = "处置总数")
	@TableField("management_all")
	private Integer managementAll;
	/**
	 * 故障设备数
	 */
    @ApiModelProperty(value = "故障设备数")
	@TableField("fault_device_num")
	private Integer faultDeviceNum;

}
